<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TFileBrowserView类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_file_browser_view.html">TFileBrowserView</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_file_browser_view-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TFileBrowserView类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TFileBrowserView 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_file_browser_view.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a88b052fbb7e25ce83340e1635f4b3c23"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a88b052fbb7e25ce83340e1635f4b3c23">TFileBrowserView</a> (long nativeObj)</td></tr>
<tr class="separator:a88b052fbb7e25ce83340e1635f4b3c23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa89e03f3eff45b3916517bb1a7763a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#aaa89e03f3eff45b3916517bb1a7763a8">setInitDir</a> (String init_dir)</td></tr>
<tr class="separator:aaa89e03f3eff45b3916517bb1a7763a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fee224d480205e3e9f9b317ff4ec4ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a4fee224d480205e3e9f9b317ff4ec4ad">setTopDir</a> (String top_dir)</td></tr>
<tr class="separator:a4fee224d480205e3e9f9b317ff4ec4ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9fd3a766978e77dfc445d6ae2b5e97e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#ad9fd3a766978e77dfc445d6ae2b5e97e">setFilter</a> (String filter)</td></tr>
<tr class="separator:ad9fd3a766978e77dfc445d6ae2b5e97e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee652c8414ce180eb81a67f3003a9267"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#aee652c8414ce180eb81a67f3003a9267">reload</a> ()</td></tr>
<tr class="separator:aee652c8414ce180eb81a67f3003a9267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4670da240e6b10662b92ea2193f1da36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a4670da240e6b10662b92ea2193f1da36">setIgnoreHiddenFiles</a> (boolean ignore_hidden_files)</td></tr>
<tr class="separator:a4670da240e6b10662b92ea2193f1da36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39c4fdde43d4fb05aafe9437fd92ba39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a39c4fdde43d4fb05aafe9437fd92ba39">setSortAscending</a> (boolean sort_ascending)</td></tr>
<tr class="separator:a39c4fdde43d4fb05aafe9437fd92ba39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1005f87687ff3159b3757e314ed0c8cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a1005f87687ff3159b3757e314ed0c8cb">setShowCheckButton</a> (boolean show_check_button)</td></tr>
<tr class="separator:a1005f87687ff3159b3757e314ed0c8cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1fce432dda3a1c128108226bc19a999"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#aa1fce432dda3a1c128108226bc19a999">setSortBy</a> (String sort_by)</td></tr>
<tr class="separator:aa1fce432dda3a1c128108226bc19a999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae46d8542a557cea783f5f3b1986149e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#ae46d8542a557cea783f5f3b1986149e1">setOddItemStyle</a> (String odd_item_style)</td></tr>
<tr class="separator:ae46d8542a557cea783f5f3b1986149e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90d0b73542a17d9f390e5858750ec96b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a90d0b73542a17d9f390e5858750ec96b">setEvenItemStyle</a> (String even_item_style)</td></tr>
<tr class="separator:a90d0b73542a17d9f390e5858750ec96b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1dd280e02a315e095b797b5f750b3a"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a1a1dd280e02a315e095b797b5f750b3a">getCwd</a> ()</td></tr>
<tr class="separator:a1a1dd280e02a315e095b797b5f750b3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5474b3d8577cf9c63a51903661fb61f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#ae5474b3d8577cf9c63a51903661fb61f">createDir</a> (String name)</td></tr>
<tr class="separator:ae5474b3d8577cf9c63a51903661fb61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26184d4dd2dcb6791ea76a913862be9f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a26184d4dd2dcb6791ea76a913862be9f">createFile</a> (String name, String data, int size)</td></tr>
<tr class="separator:a26184d4dd2dcb6791ea76a913862be9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac83fb3660e168dc97263d91e8e881064"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#ac83fb3660e168dc97263d91e8e881064">getInitDir</a> ()</td></tr>
<tr class="separator:ac83fb3660e168dc97263d91e8e881064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a702b32b1cfd838590d79e6ac8593449d"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a702b32b1cfd838590d79e6ac8593449d">getTopDir</a> ()</td></tr>
<tr class="separator:a702b32b1cfd838590d79e6ac8593449d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4853e5ca2f64103416a0e82583df927"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#ab4853e5ca2f64103416a0e82583df927">getFilter</a> ()</td></tr>
<tr class="separator:ab4853e5ca2f64103416a0e82583df927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55e3308ff96594fc99aa42b280cfe935"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a55e3308ff96594fc99aa42b280cfe935">getIgnoreHiddenFiles</a> ()</td></tr>
<tr class="separator:a55e3308ff96594fc99aa42b280cfe935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a935d09f463369d6570e9fb86a14ecdf2"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a935d09f463369d6570e9fb86a14ecdf2">getSortAscending</a> ()</td></tr>
<tr class="separator:a935d09f463369d6570e9fb86a14ecdf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eda131f86f12b0bc05bec4ec881f8b3"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a1eda131f86f12b0bc05bec4ec881f8b3">getShowCheckButton</a> ()</td></tr>
<tr class="separator:a1eda131f86f12b0bc05bec4ec881f8b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4008285824424c1bd2933b76f8b72d3d"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a4008285824424c1bd2933b76f8b72d3d">getSortBy</a> ()</td></tr>
<tr class="separator:a4008285824424c1bd2933b76f8b72d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be3cf4cf5d1f5ee2f9a31bba55ddf39"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a0be3cf4cf5d1f5ee2f9a31bba55ddf39">getOddItemStyle</a> ()</td></tr>
<tr class="separator:a0be3cf4cf5d1f5ee2f9a31bba55ddf39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83dc27dc2d9f5a56cc1e8b888cd510be"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a83dc27dc2d9f5a56cc1e8b888cd510be">getEvenItemStyle</a> ()</td></tr>
<tr class="separator:a83dc27dc2d9f5a56cc1e8b888cd510be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:af383d60046b475143cfbe9dd6c26544c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_file_browser_view.html">TFileBrowserView</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#af383d60046b475143cfbe9dd6c26544c">cast</a> (long nativeObj)</td></tr>
<tr class="separator:af383d60046b475143cfbe9dd6c26544c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7369b2b2247704288c1459987c348ba0"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a7369b2b2247704288c1459987c348ba0">create</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:a7369b2b2247704288c1459987c348ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a101ece57388eb787eb76c586683d2952"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_file_browser_view.html">TFileBrowserView</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_file_browser_view.html#a101ece57388eb787eb76c586683d2952">cast</a> (TWidget widget)</td></tr>
<tr class="separator:a101ece57388eb787eb76c586683d2952"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>文件管理/浏览/选择控件。</p>
<p>file_browser_view_t是widget\_t的子类控件，widget_t的函数均适用于file_browser_view_t控件。</p>
<p>考虑到文件浏览器界面呈现的多样性，界面呈现工作完全有子控件来完成。</p>
<p>file_browser_view_t负责关联文件/文件夹数据到子控件上，子控件需要特定的规范命名。</p>
<p>名为 "cwd" 的子控件用于显示当前路径。</p>
<p>名为 "selected_file" 的子控件用于显示当前选择的文件。</p>
<p>名为 "file" 的子控件用于显示文件项的模板控件。</p>
<p>名为 "folder" 的子控件用于显示文件夹项的模板控件。</p>
<p>名为 "return_up" 的子控件用于返回上一级文件夹的模板控件。</p>
<p>名为 "container" 的子控件为容器控件，通常是scrollview。</p>
<p>名为 "name" 的子控件用于显示文件和文件夹的名称(放在列表项目内)。</p>
<p>名为 "size" 的子控件用于显示文件和文件夹的大小(放在列表项目内)。</p>
<p>名为 "mtime" 的子控件用于显示文件和文件夹的修改时间(放在列表项目内)。</p>
<p>名为 "ctime" 的子控件用于显示文件和文件夹的创建时间(放在列表项目内)。</p>
<p>名为 "icon" 的子控件用于显示文件和文件夹的图标(放在列表项目内)。</p>
<p>类型为 "check_button" 的子控件用于选择(放在列表项目内)。</p>
<p>完整示例请参考：</p>
<p><a href="https://github.com/zlgopen/awtk/blob/master/design/default/ui/file_chooser_for_open.xml">https://github.com/zlgopen/awtk/blob/master/design/default/ui/file_chooser_for_open.xml</a> </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a88b052fbb7e25ce83340e1635f4b3c23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88b052fbb7e25ce83340e1635f4b3c23">&#9670;&nbsp;</a></span>TFileBrowserView()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TFileBrowserView.TFileBrowserView </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="af383d60046b475143cfbe9dd6c26544c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af383d60046b475143cfbe9dd6c26544c">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_file_browser_view.html">TFileBrowserView</a> awtk.TFileBrowserView.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="a101ece57388eb787eb76c586683d2952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a101ece57388eb787eb76c586683d2952">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_file_browser_view.html">TFileBrowserView</a> awtk.TFileBrowserView.cast </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为file_browser_view对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>file_browser_view对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>file_browser_view对象。 </dd></dl>

</div>
</div>
<a id="a7369b2b2247704288c1459987c348ba0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7369b2b2247704288c1459987c348ba0">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TFileBrowserView.create </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建file_browser_view对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="ae5474b3d8577cf9c63a51903661fb61f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5474b3d8577cf9c63a51903661fb61f">&#9670;&nbsp;</a></span>createDir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.createDir </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>在当前文件夹创建子文件夹。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>子文件夹名。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a26184d4dd2dcb6791ea76a913862be9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26184d4dd2dcb6791ea76a913862be9f">&#9670;&nbsp;</a></span>createFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.createFile </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>在当前文件夹创建文件。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>文件名。 </td></tr>
    <tr><td class="paramname">data</td><td>数据。 </td></tr>
    <tr><td class="paramname">size</td><td>数据长度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a1a1dd280e02a315e095b797b5f750b3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a1dd280e02a315e095b797b5f750b3a">&#9670;&nbsp;</a></span>getCwd()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getCwd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取当前路径。</p>
<dl class="section return"><dt>返回</dt><dd>返回当前路径。 </dd></dl>

</div>
</div>
<a id="a83dc27dc2d9f5a56cc1e8b888cd510be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83dc27dc2d9f5a56cc1e8b888cd510be">&#9670;&nbsp;</a></span>getEvenItemStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getEvenItemStyle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>偶数项样式。 </p>

</div>
</div>
<a id="ab4853e5ca2f64103416a0e82583df927"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4853e5ca2f64103416a0e82583df927">&#9670;&nbsp;</a></span>getFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>过滤规则。 </p>

</div>
</div>
<a id="a55e3308ff96594fc99aa42b280cfe935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55e3308ff96594fc99aa42b280cfe935">&#9670;&nbsp;</a></span>getIgnoreHiddenFiles()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TFileBrowserView.getIgnoreHiddenFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否忽略隐藏文件。 </p>

</div>
</div>
<a id="ac83fb3660e168dc97263d91e8e881064"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac83fb3660e168dc97263d91e8e881064">&#9670;&nbsp;</a></span>getInitDir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getInitDir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>初始文件夹。 </p>

</div>
</div>
<a id="a0be3cf4cf5d1f5ee2f9a31bba55ddf39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0be3cf4cf5d1f5ee2f9a31bba55ddf39">&#9670;&nbsp;</a></span>getOddItemStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getOddItemStyle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>奇数项样式。 </p>

</div>
</div>
<a id="a1eda131f86f12b0bc05bec4ec881f8b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eda131f86f12b0bc05bec4ec881f8b3">&#9670;&nbsp;</a></span>getShowCheckButton()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TFileBrowserView.getShowCheckButton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否显示checkbutton。 </p>

</div>
</div>
<a id="a935d09f463369d6570e9fb86a14ecdf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a935d09f463369d6570e9fb86a14ecdf2">&#9670;&nbsp;</a></span>getSortAscending()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TFileBrowserView.getSortAscending </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否为升序排序。 </p>

</div>
</div>
<a id="a4008285824424c1bd2933b76f8b72d3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4008285824424c1bd2933b76f8b72d3d">&#9670;&nbsp;</a></span>getSortBy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getSortBy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>排序方式。可选值(name, size, mtime, type)。 </p>

</div>
</div>
<a id="a702b32b1cfd838590d79e6ac8593449d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a702b32b1cfd838590d79e6ac8593449d">&#9670;&nbsp;</a></span>getTopDir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TFileBrowserView.getTopDir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>最顶层目录。到达本目录后，不允许往上。 </p>

</div>
</div>
<a id="aee652c8414ce180eb81a67f3003a9267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee652c8414ce180eb81a67f3003a9267">&#9670;&nbsp;</a></span>reload()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.reload </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>重新加载。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a90d0b73542a17d9f390e5858750ec96b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90d0b73542a17d9f390e5858750ec96b">&#9670;&nbsp;</a></span>setEvenItemStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setEvenItemStyle </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>even_item_style</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 偶数项样式。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">even_item_style</td><td>奇数项样式。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ad9fd3a766978e77dfc445d6ae2b5e97e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9fd3a766978e77dfc445d6ae2b5e97e">&#9670;&nbsp;</a></span>setFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setFilter </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>filter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 过滤规则。 </p><blockquote class="doxtable">
<p>files_only 表示只列出文件，dir_only 表示只列出目录，其它表示只列出满足扩展名文件集合(如：.jpg.png.gif)。 </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">filter</td><td>过滤规则。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a4670da240e6b10662b92ea2193f1da36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4670da240e6b10662b92ea2193f1da36">&#9670;&nbsp;</a></span>setIgnoreHiddenFiles()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setIgnoreHiddenFiles </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>ignore_hidden_files</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 忽略隐藏文件。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ignore_hidden_files</td><td>忽略隐藏文件。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aaa89e03f3eff45b3916517bb1a7763a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa89e03f3eff45b3916517bb1a7763a8">&#9670;&nbsp;</a></span>setInitDir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setInitDir </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>init_dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 初始文件夹。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">init_dir</td><td>初始文件夹。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ae46d8542a557cea783f5f3b1986149e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae46d8542a557cea783f5f3b1986149e1">&#9670;&nbsp;</a></span>setOddItemStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setOddItemStyle </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>odd_item_style</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 奇数项样式。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">odd_item_style</td><td>奇数项样式。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a1005f87687ff3159b3757e314ed0c8cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1005f87687ff3159b3757e314ed0c8cb">&#9670;&nbsp;</a></span>setShowCheckButton()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setShowCheckButton </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>show_check_button</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 是否显示checkbutton。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_check_button</td><td>是否显示checkbutton。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a39c4fdde43d4fb05aafe9437fd92ba39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39c4fdde43d4fb05aafe9437fd92ba39">&#9670;&nbsp;</a></span>setSortAscending()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setSortAscending </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>sort_ascending</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 是否为升序排序。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sort_ascending</td><td>是否为升序排序。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aa1fce432dda3a1c128108226bc19a999"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1fce432dda3a1c128108226bc19a999">&#9670;&nbsp;</a></span>setSortBy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setSortBy </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sort_by</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 排序方式。可选值(name, size, mtime, type)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sort_by</td><td>排序方式。可选值(name, size, mtime, type)。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a4fee224d480205e3e9f9b317ff4ec4ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fee224d480205e3e9f9b317ff4ec4ad">&#9670;&nbsp;</a></span>setTopDir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TFileBrowserView.setTopDir </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>top_dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置 顶层文件夹。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">top_dir</td><td>初始文件夹。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TFileBrowserView.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
